<div class="childen-box">
  <p>子组件</p>
  <div>
    <label>姓名：</label>
    <input type="text" [(ngModel)]="name">
    <input type="button" (click)="upward()" value="传递数据给父组件">
  </div>
</div>
